
package com.treeman.navi.service;

import android.location.Location;


public class UserLocalization
{

    private Double longitude = 0.0d;
    private Double latitude = 0.0d;


    public UserLocalization(Double longitude, Double latitude)
    {
	this.longitude = longitude;
	this.latitude = latitude;
    }

    public UserLocalization(Location localization)
    {
	this.longitude = localization.getLongitude();
	this.latitude = localization.getLatitude();
    }

    public Double getLongitude()
    {
	return longitude;
    }

    public void setLongitude(Double longitude)
    {
	this.longitude = longitude;
    }

    public Double getLatitude()
    {
	return latitude;
    }

    public void setLatitude(Double latitude)
    {
	this.latitude = latitude;
    }

}
